home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20000824-20010305 / 000088_news@columbia.edu _Tue Oct 24 17:39:55 2000.msg < prev    next >
Internet Message Format  |  2001-03-05  |  12KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA08579
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 24 Oct 2000 17:39:54 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA12681
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 24 Oct 2000 17:39:54 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA00273
  10.     for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 17:23:01 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: Luiz Geraldo Silva Braz <braz@i2.com.br>
  13. Subject: log of a kermit comunication
  14. Date: Tue, 24 Oct 2000 19:08:29 -0200
  15. Organization: POP-MG
  16. Message-ID: <Pine.LNX.3.96.1001024185713.5485B-100000@atlanta.i2.com.br>
  17. To: kermit.misc@columbia.edu
  18.  
  19.  
  20. Hi,
  21.    
  22.    This is a log of kermit comunication that I need to decode.
  23.    The big questions are:
  24.  
  25.     1) What king of command could generate the first string
  26.        sent to the kermit server?
  27.        
  28.              #A&  D#C"@%<ENTER> (see the log above)
  29.  
  30.     2) Would this entire comunication be the result of just
  31.        one c-kermit command or a lot of commands? 
  32.        What would be this (these) commands?
  33.  
  34.     I intend to create a script (using expect) to interact
  35.     with c-kermit and automate this kind of comunication.
  36.  
  37.     I have inserted some coments (***) inside the log.
  38.     
  39.     Each set of packets has the sender ID ( "1>" to client and "0>"
  40.     to the server) and two representations of the data sent in 2 
  41.     columns.
  42.  
  43.     Some non-printbles caracteres are represented by "." at the 
  44.     rigth column. In the left column appears the Hex code of each 
  45.     char and the simbol of the non-printblesi char. 
  46.  
  47.     Thanks in advance.
  48.  
  49. Luiz Braz
  50. braz@i2.com.br
  51. PS: Sorry about the errors. This is the first message I have 
  52.     wroten in English. :-) 
  53.  
  54. >-------------------------------------------------------------------------
  55. *** Estabilishing the connection. 817371001 is just the phone number. :-)
  56. 1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30    ATDT0318173710
  57.          A  T  D  T  0  w  0  3  1  8  1  7  3  7  1  0  
  58.    0010: 30 31 0D                                           01.
  59.          0  1  ^M 
  60.  
  61. 0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41    ..CONNECT 9600/A
  62.          ^M ^J C  O  N  N  E  C  T  bs 9  6  0  0  /  A  
  63.    0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42    RQ/V32/LAPM/V42B
  64.          R  Q  /  V  3  2  /  L  A  P  M  /  V  4  2  B  
  65.    0020: 49 53 0D 0A                                        IS..
  66.          I  S  ^M ^J 
  67.  
  68. *** Connected. Now the client machine sends a data packet (D) with 
  69.     a kind of escape sequence to the server. I don't know 
  70.     exactaly what does it mean. I don't know how the
  71.     kermit server can interpret the commands (escape) inside
  72.     the data packet. I supose that it is a hot question. 
  73. 1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D                #A&  D#C"@%.
  74.          #  A  &  bs bs D  #  C  "  @  %  ^M 
  75.  
  76. *** The server answers with an ack packet (Y) and a unknown M-package. 
  77.     What kind of package is it? I did't see it at the kermit 
  78.     protocol description I have?
  79. 0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D    #A%  Y*$3.#AS _M
  80.          #  A  %  bs bs Y  *  $  3  ^M #  A  S  bs _  M  
  81.    0034: 23 4D 23 4A 20 50 45 46 20 53 45 53 53 49 4F 4E    #M#J PEF SESSION
  82.          #  M  #  J  bs P  E  F  bs S  E  S  S  I  O  N  
  83.    0044: 20 54 45 52 4D 49 4E 41 54 45 44 20 41 54 20 30     TERMINATED AT 0
  84.          bs T  E  R  M  I  N  A  T  E  D  bs A  T  bs 0  
  85.    0054: 30 2D 31 30 2D 31 38 20 31 36 3A 35 38 3A 35 39    0-10-18 16:58:59
  86.          0  -  1  0  -  1  8  bs 1  6  :  5  8  :  5  9  
  87.    0064: 26 32 2F 0D                                        &2/.
  88.          &  2  /  ^M 
  89.  
  90. *** The client just confirms the last package received.
  91. 1> 001F: 23 41 25 20 5F 59 29 31 59 0D                      #A% _Y)1Y.
  92.          #  A  %  bs _  Y  )  1  Y  ^M 
  93.  
  94. *** The server sents a password prompt to the client.
  95. 0> 0068: 23 41 75 24 20 42 23 4D 23 4A 41 43 2D 43 43 31    #Au$ B#M#JAC-CC1
  96.          #  A  u  $  bs B  #  M  #  J  A  C  -  C  C  1  
  97.    0078: 2D 53 50 58 32 30 30 30 20 56 33 30 31 31 20 50    -SPX2000 V3011 P
  98.          -  S  P  X  2  0  0  0  bs V  3  0  1  1  bs P  
  99.    0088: 4C 3A 30 30 2E 39 36 20 43 55 53 54 4F 4D 45 52    L:00.96 CUSTOMER
  100.          L  :  0  0  .  9  6  bs C  U  S  T  O  M  E  R  
  101.    0098: 3A 20 54 45 4C 45 4D 41 52 20 20 53 49 54 45 3A    : TELEMAR  SITE:
  102.          :  bs T  E  L  E  M  A  R  bs bs S  I  T  E  :  
  103.    00A8: 20 42 4F 4E 49 54 4F 20 20 20 20 20 20 20 20 20     BONITO         
  104.          bs B  O  N  I  T  O  bs bs bs bs bs bs bs bs bs 
  105.    00B8: 20 23 4D 23 4A 50 4C 45 41 53 24 58 38 0D 23 41     #M#JPLEAS$X8.#A
  106.          bs #  M  #  J  P  L  E  A  S  $  X  8  ^M #  A  
  107.    00C8: 36 20 21 42 45 20 45 4E 54 45 52 20 50 41 53 53    6 !BE ENTER PASS
  108.          6  bs !  B  E  bs E  N  T  E  R  bs P  A  S  S  
  109.    00D8: 57 4F 52 44 3E 21 28 21 0D                         WORD>!(!.
  110.          W  O  R  D  >  !  (  !  ^M 
  111.  
  112. *** The client sends 2 ack packages and a data (D) package
  113.     with the password. Yes, I changed the password! :-)
  114. 1> 0029: 23 41 25 20 20 59 2A 24 33 0D 23 41 25 20 21 59    #A%  Y*$3.#A% !Y
  115.          #  A  %  bs bs Y  *  $  3  ^M #  A  %  bs !  Y  
  116.    0039: 2B 43 2B 0D 23 41 2A 20 21 44 4B 49 4E 4E 23 4A    +C+.#A* !KINN#J
  117.          +  C  +  ^M #  A  *  bs !  D  K  I  N  N  #  J  
  118.    0049: 29 33 31 0D                                        )11.
  119.          )  3  1  ^M 
  120.  
  121. *** The server sends the command prompt in a S-package.
  122. 0> 00E1: 23 41 25 20 21 59 2B 43 2B 0D 23 41 38 20 22 53    #A% !Y+C+.#A8 "S
  123.          #  A  %  bs !  Y  +  C  +  ^M #  A  8  bs "  S  
  124.    00F1: 23 4D 23 4A 30 30 2D 31 30 2D 31 38 20 31 36 3A    #M#J00-10-18 16:
  125.          #  M  #  J  0  0  -  1  0  -  1  8  bs 1  6  :  
  126.    0101: 35 39 3A 30 37 29 4C 39 0D 23 41 28 20 23 5A 23    59:07)L9.#A( #Z#
  127.          5  9  :  0  7  )  L  9  ^M #  A  (  bs #  Z  #  
  128.    0111: 4D 23 4A 3E 21 21 4A 0D                            M#J>!!J.
  129.          M  #  J  >  !  !  J  ^M 
  130.  
  131. *** The client sends the command. (All I have to do is automate 
  132.     this single command. :-)
  133. 1> 004D: 23 41 25 20 22 59 29 2A 43 0D 23 41 25 20 23 59    #A% "Y)*C.#A% #Y
  134.          #  A  %  bs "  Y  )  *  C  ^M #  A  %  bs #  Y  
  135.    005D: 28 4D 5B 0D 23 41 30 20 22 44 44 49 53 20 53 54    (M[.#A0 "DDIS ST
  136.          (  M  [  ^M #  A  0  bs "  D  D  I  S  bs S  T  
  137.    006D: 4E 41 53 53 4E 21 4C 35 0D                         NASSN!L5.
  138.          N  A  S  S  N  !  L  5  ^M 
  139.  
  140. *** The server sends the extension-command prompt.
  141. 0> 0119: 23 41 25 20 22 59 29 2A 43 0D 23 41 3E 20 24 46    #A% "Y)*C.#A> $F
  142.          #  A  %  bs "  Y  )  *  C  ^M #  A  >  bs $  F  
  143.    0129: 53 54 41 54 49 4F 4E 20 45 58 54 45 4E 53 49 4F    STATION EXTENSIO
  144.          S  T  A  T  I  O  N  bs E  X  T  E  N  S  I  O  
  145.    0139: 4E 20 4E 55 4D 42 45 52 3D 28 2A 4D 0D             N NUMBER=(*M.
  146.          N  bs N  U  M  B  E  R  =  (  *  M  ^M 
  147.  
  148. *** The client sends the rest of the command. Just a CTRL-M.
  149. 1> 0076: 23 41 25 20 24 59 2C 39 53 0D 23 41 26 20 23 44    #A% $Y,9S.#A& #D
  150.          #  A  %  bs $  Y  ,  9  S  ^M #  A  &  bs #  D  
  151.    0086: 23 4A 25 4A 40 0D                                  #J%J@.
  152.          #  J  %  J  @  ^M 
  153.  
  154. *** Then the result of the command appear.
  155. 0> 0146: 23 41 25 20 23 59 28 4D 5B 0D 23 41 49 20 25 4D    #A% #Y(M[.#AI %M
  156.          #  A  %  bs #  Y  (  M  [  ^M #  A  I  bs %  M  
  157.    0156: 20 44 49 53 50 4C 41 59 20 53 54 4E 41 53 53 4E     DISPLAY STNASSN
  158.          bs D  I  S  P  L  A  Y  bs S  T  N  A  S  S  N  
  159.    0166: 20 30 30 2D 31 30 2D 31 38 20 31 36 3A 35 39 3A     00-10-18 16:59:
  160.          bs 0  0  -  1  0  -  1  8  bs 1  6  :  5  9  :  
  161.    0176: 33 37 23 4D 23 4A 25 43 2B 0D 23 41 27 20 26 44    37#M#J%C+.#A' &D
  162.          3  7  #  M  #  J  %  C  +  ^M #  A  '  bs &  D  
  163.    0186: 23 4D 23 4A 22 55 5E 0D 23 41 72 20 27 44 23 4D    #M#J"U^.#Ar 'D#M
  164.          #  M  #  J  "  U  ^  ^M #  A  r  bs '  D  #  M  
  165.    0196: 23 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20    #J              
  166.          #  J  bs bs bs bs bs bs bs bs bs bs bs bs bs bs 
  167.    01A6: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                    
  168.          bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs 
  169.    01B6: 20 20 20 20 4B 45 59 20 20 52 53 54 20 20 52 53        KEY  RST  RS
  170.          bs bs bs bs K  E  Y  bs bs R  S  T  bs bs R  S  
  171.    01C6: 54 20 20 57 52 4D 20 48 4F 54 20 46 45 41 54 20    T  WRM HOT FEAT 
  172.          T  bs bs W  R  M  bs H  O  T  bs F  E  A  T  bs 
  173.    01D6: 20 20 20 20 20 20 20 43 48 41 52 47 45 2B 3F 26           CHARGE+?&
  174.          bs bs bs bs bs bs bs C  H  A  R  G  E  +  ?  &  
  175.    01E6: 0D                                                 .
  176.          ^M 
  177.  
  178. *** The ack of the last three packages.
  179. 1> 008C: 23 41 25 20 25 59 2D 5E 4B 0D 23 41 25 20 26 59    #A% %Y-^K.#A% &Y
  180.          #  A  %  bs %  Y  -  ^  K  ^M #  A  %  bs &  Y  
  181.    009C: 2F 37 23 0D 23 41 25 20 27 59 2E 50 3B 0D          /7#.#A% 'Y.P;.
  182.          /  7  #  ^M #  A  %  bs '  Y  .  P  ;  ^M 
  183.  
  184. *** More results...
  185. 0> 01E7: 23 41 73 20 28 44 23 4D 23 4A 20 53 54 4E 20 20    #As (D#M#J STN  
  186.          #  A  s  bs (  D  #  M  #  J  bs S  T  N  bs bs 
  187.    01F7: 50 45 4E 20 54 59 50 45 20 43 4F 53 20 53 44 20    PEN TYPE COS SD 
  188.          P  E  N  bs T  Y  P  E  bs C  O  S  bs S  D  bs 
  189.    0207: 43 41 54 20 4F 52 49 20 50 41 52 20 57 4F 52 44    CAT ORI PAR WORD
  190.          C  A  T  bs O  R  I  bs P  A  R  bs W  O  R  D  
  191.    0217: 20 47 52 50 20 20 43 41 54 20 20 4C 4E 45 20 4C     GRP  CAT  LNE L
  192.          bs G  R  P  bs bs C  A  T  bs bs L  N  E  bs L  
  193.    0227: 4E 45 20 41 54 54 52 20 20 20 4C 53 54 23 23 20    NE ATTR   LST## 
  194.          N  E  bs A  T  T  R  bs bs bs L  S  T  #  #  bs 
  195.    0237: 4D 45 54 45 52 20 20 27 48 53 0D 23 41 74 20 29    METER  'HS.#At )
  196.          M  E  T  E  R  bs bs '  H  S  ^M #  A  t  bs )  
  197.    0247: 44 23 4D 23 4A 31 30 30 30 20 36 30 30 30 20 44    D#M#J1000 6000 D
  198.          D  #  M  #  J  1  0  0  0  bs 6  0  0  0  bs D  
  199.    0257: 54 4D 46 20 20 31 20 20 20 30 20 20 31 20 20 20    TMF  1   0  1   
  200.          T  M  F  bs bs 1  bs bs bs 0  bs bs 1  bs bs bs 
  201.    0267: 31 20 20 20 2D 20 20 2D 2D 2D 2D 20 4E 2D 20 30    1   -  ---- N- 0
  202.          1  bs bs bs -  bs bs -  -  -  -  bs N  -  bs 0  
  203.    0277: 20 30 30 30 30 20 2D 2D 2D 20 2D 2D 2D 20 34 38     0000 --- --- 48
  204.          bs 0  0  0  0  bs -  -  -  bs -  -  -  bs 4  8  
  205.    0287: 30 30 30 30 20 30 36 37 38 20 30 30 30 30 30 30    0000 0678 000000
  206.          0  0  0  0  bs 0  6  7  8  bs 0  0  0  0  0  0  
  207.    0297: 36 39 2C 42 22 0D 23 41 74 20 2A 44 23 4D 23 4A    69,B".#At *D#M#J
  208.          6  9  ,  B  "  ^M #  A  t  bs *  D  #  M  #  J  
  209.    02A7: 31 30 30 31 20 36 30 30 31 20 44 54 4D 46 20 20    1001 6001 DTMF  
  210.          1  0  0  1  bs 6  0  0  1  bs D  T  M  F  bs bs 
  211.    02B7: 31 20 20 20 30 20 20 33 20 20 20 31 20 20 20 2D    1   0  3   1   -
  212.          1  bs bs bs 0  bs bs 3  bs bs bs 1  bs bs bs -  
  213.    02C7: 20 20 2D 2D 2D 2D 20 4E 2D 20 30 20 30 30 30 30      ---- N- 0 0000
  214.          bs bs -  -  -  -  bs N  -  bs 0  bs 0  0  0  0  
  215.    02D7: 20 2D 2D 2D 20 2D 2D 2D 20 30 30 30 30 31 30 20     --- --- 000010 
  216.          bs -  -  -  bs -  -  -  bs 0  0  0  0  1  0  bs 
  217.    02E7: 30 36 37 39 20 30 30 30 30 30 30 30 31 20 55 35    0679 00000001 U5
  218.          0  6  7  9  bs 0  0  0  0  0  0  0  1  bs U  5  
  219.    02F7: 0D                                                 .
  220.          ^M 
  221.  
  222. *** More 3 ACK packages...
  223. 1> 00AA: 23 41 25 20 28 59 26 5F 33 0D 23 41 25 20 29 59    #A% (Y&_3.#A% )Y
  224.          #  A  %  bs (  Y  &  _  3  ^M #  A  %  bs )  Y  
  225.    00BA: 27 38 2B 0D 23 41 25 20 2A 59 25 51 43 0D          '8+.#A% *Y%QC.
  226.          '  8  +  ^M #  A  %  bs *  Y  %  Q  C  ^M 
  227.  
  228. and the result of the command continues to come in sequences 
  229. of three packages... (see the big questions I have made at the
  230. begining of this mesage.) 
  231.  
  232. Thanks again.A
  233.  
  234.                                                   
  235.    
  236.